home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / HackAddict™ Magazine / HA 1-12 / HackAddict03.sit / HackAddict ƒ / HackAddict v3.0.rsrc / TEXT_132.txt < prev    next >
Text File  |  1997-06-02  |  5KB  |  107 lines

  1.  
  2.              Changing File Type for   
  3.           Security
  4.  
  5. ---Intro + Explanation of the Subject---
  6.  
  7. In the MacOS 'most every software developer uses a unique four letter "signature". The use of these signatures is to allow the OS to differentiate between different applications. With other words, in order for the OS to figure out whether a document is a MS Word or a Claris document, it has to look at its signature! Now this signature is divided into two parts, the "type" and the "creator". The "type" of a file tells the OS if the file is an application, a text file, a document, a movie, a picture, an alias, Saint Marry, or things like that The
  8. "creator" of the file tells the OS which application the file belongs to. With other words, each application has a unique sort of a code, the "creator". And then when the file needs to be opened the OS knows which program it should open it in.
  9.  
  10. Now as you can imagine, you can have a lot of fun, changing these settings. For example you can make your computer think that something is a PICT file while it is actually an application. And this way, if a nerd comes around and wants to open a file titled "sex" on your computer he'll just be faced with an error dialog box!
  11.  
  12.  
  13. ---How to do it?---
  14.  
  15. So how do you change the type and creator of a file?
  16. Simple... Just get your hands on ResEdit (which you should already have!!!!) File Buddy, GetInfo Extreme, Norton Utilities, or a bunch of other software that allows you to edit the file and creator! (trust me it's not hard to find!) To make things simple I'll describe how to use ResEdit ('cause it's the easiest to get a hold of!)
  17.  
  18. Fire up ResEdit, and once you shot the clown popping out of a Classic, go to the File menu and choose "Get File/Folder Info" the same way as you would when making a file invisible. Now select the file you want to mess around with. And in the dialog box appearing should be a box where you can change the type, and a box where you can change the creator of whatever you selected.
  19.  
  20. At this point it is of extreme importance to mention the fact that you need to memorize the original type and creator, if you want to convert the file back to normal again! And if you forget, it might take some time 'till you can figure it out again! So use your head and any precautions you want to use!
  21.  
  22.  
  23. ---Library of Type and Creator Letters---
  24.  
  25. Anyway, here are some common "type" abbreviations, you can use (Warning the
  26. case 
  27. of the letters are important!):
  28.  
  29. TYPE                  WHAT IT STANDS FOR
  30.  
  31. APPL                  Application
  32. WDBN                  Word Document
  33. ttro                  Simple Text read only document
  34. TEXT                  Text Document
  35. zsys                  The System
  36. FNDR                  The Finder
  37. adrp                  Alias 
  38. cdev                  Control Panel
  39. INIT                  Extension
  40.  
  41.  
  42. And some famous creators:
  43.  
  44. CREATOR               WHAT IT STANDS FOR
  45.  
  46. SIT!                  StuffIt file
  47. SWIN                  Soft Windows file
  48. RSED                  ResEdit file
  49. BOBO                  Claris Works file
  50. Vrks                  Virex file
  51. MACS                  MacOS file
  52. ttxt                  SimpleText file
  53. MSWD                  Microsoft Word file
  54.  
  55.  
  56.  
  57. However sometimes you have to change both the type and the creator, to gain the best effect (xxxx = anything you'd like):
  58.  
  59. TYPE   CREATOR     DESCRIPTION
  60. zsys   xxxx      Fools the OS intothinking that the file is a 
  61.                  portfolio.If you double click on it, it will 
  62.                  open up as ifit was a folder.
  63.  
  64. ttro   ttxt      Makes file into a read only simpletext file. 
  65.                  If the original file is not a document it 
  66.                  will open an empty window when double                
  67.                  clicked.
  68.  
  69. xxxx   ttxt      When double clicked an error message will 
  70.                  appear saying that document can't be opened
  71.  
  72. FNDR   MACS      File is used by system error dialog will      
  73.                  appear when file is opened
  74.  
  75. APPL   xxxx      When opened an error type -39 will appear. 
  76.                  Works only if original file has no resource 
  77.                  fork
  78.  
  79. PICT   xxxx      Won't be able to access it
  80.  
  81. cdev   xxxx      Wont let you open it
  82.  
  83. INIT   xxxx      Thinks file is an extension, and will ask you 
  84.                  to put it into the extensions folder
  85.  
  86.  
  87. ---Extra Revenge Description---
  88.  
  89. All right that should be enough for you to get the hang of things. Before I leave you though here's a little thing for how you can annoy the shit out of your sysop, if the machines have Virex installed! You need to have access to the main Virex application, so if it's not use a lame excuse like "Mr. Sysop, I would like to check whether Virex can be thought to read PC viruses". 
  90.  
  91. So here's what you do:
  92. 1. Fire up Virex
  93. 2. Under the Virus Info there should be a custom button where you can enter descriptors of own viruses.
  94. 3. Give your virus a name
  95. 4. For the type enter "FNDR"
  96. 5. For the creator enter "ERIK"
  97. 6. Save your work and get as far away from the place as possible
  98.  
  99. What this does is that you create a custom definition of a virus. So every time, Virex scans a disk, the desktop file on the disk, will be regarded as a virus! An easy but annoying way of having revenge!
  100.  
  101.  
  102. Well that's it folks!
  103.  
  104.  
  105.  
  106. ProZaq
  107.